<?php
$pageId = 'cpt';
//dump($data);
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <include file="Common/meta"/>
    <title>竞赛列表 - {$_ENV['site'][0]['title']}</title>
    <include file="Common/link"/>
    <style>
        html,
        body {
            height: 100%;
        }
    </style>
</head>
<body>
<header class="layout-header">
    <div class="container">
        <ul id="my-tab" class="header-nav">
            <li class="nav-item active">
                <a id="btn-cpt-list" class="nav-link" href="#pane-cpt" data-toggle="tab">列表</a>
            </li>
            <li class="nav-item">
                <a id="btn-cpt-result" class="nav-link" href="#pane-result" data-toggle="tab">结果</a>
            </li>
        </ul>
    </div>
</header>
<section class="layout-body layout-index">
    <div class="container">
        <div class="tab-content">
            <div id="pane-cpt" class="tab-pane in active">
                <include file="Common/search_condition_cpt"/>
                <ul id="cpt-list" class="list-common cpt-list"></ul>
                <a id="load-more-cpt" class="btn btn-more" href="#">加载更多</a>
                <div id="search-empty" class="content-empty">
                    <div class="picture"></div>
                    <div class="no-data">没有符合条件的相关数据</div>
                </div>
            </div>
            <div id="pane-result" class="tab-pane">
                <ul id="cpt-result-list" class="list-common cpt-result-list"></ul>
                <a id="load-more-result" class="btn btn-more" href="#">加载更多</a>
                <div id="result-empty" class="content-empty">
                    <div class="picture"></div>
                    <div class="no-data">暂未公布任何比赛结果</div>
                </div>
            </div>
        </div>
    </div>
</section>
<include file="Common/nav"/>
<include file="Common/script"/>
<script src="__PUBLIC__/asset/js/cpt.js"></script>
</body>
</html>

